package com.xiaozhi.service;

import com.xiaozhi.entity.Discussion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaozhi.entity.Reply;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 烟尘
 * @since 2023-03-15
 */
public interface DiscussionService extends IService<Discussion> {

    public List<Discussion> getAllByCondition(String text);
    public List<Discussion> getAllByTop();
    public List<Discussion> getAllByRecommend();
    public  Discussion getAllMes(Integer id);

}
